package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;
import java.lang.Object;
import java.lang.String;
import java.lang.Integer;

/**
 * 文书模板表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "document_template")
public class DocumentTemplateEntity {

    /**
     * 模板ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 模板名称
     */
    @Column(value = "template_name")
    private String templateName;

    /**
     * 模板类型
     */
    @Column(value = "template_type")
    private String templateType;

    /**
     * 模板分类
     */
    @Column(value = "category")
    private Object category;

    /**
     * 适用案件类型
     */
    @Column(value = "case_types")
    private Object caseTypes;

    /**
     * 模板内容(HTML格式)
     */
    @Column(value = "template_content")
    private String templateContent;

    /**
     * 模板描述
     */
    @Column(value = "description")
    private String description;

    /**
     * 是否启用
     */
    @Column(value = "is_active")
    private Integer isActive;

    /**
     * 版本号
     */
    @Column(value = "version")
    private Integer version;

    @Column(value = "create_time")
    private Date createTime;

    @Column(value = "update_time")
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateType() {
        return templateType;
    }

    public void setTemplateType(String templateType) {
        this.templateType = templateType;
    }

    public Object getCategory() {
        return category;
    }

    public void setCategory(Object category) {
        this.category = category;
    }

    public Object getCaseTypes() {
        return caseTypes;
    }

    public void setCaseTypes(Object caseTypes) {
        this.caseTypes = caseTypes;
    }

    public String getTemplateContent() {
        return templateContent;
    }

    public void setTemplateContent(String templateContent) {
        this.templateContent = templateContent;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
